package com.cndw.kungfu.domain;

import com.cndw.kungfu.ext.StringProcesser;

/**
 * 系统副本对象
 * @author fantadust
 *
 */
public class Undercity {
	/**
	 * 副本id
	 */
	private int id;
	/**
	 * 副本名称
	 */
	private String name;
	/**
	 * 副本类型
	 */
	private int type;
	/**
	 * 等级要求
	 */
	private int level;
	/**
	 * 进入的最大等级
	 */
	private int levelMax;
	/**
	 * 进入次数
	 */
	private int times;
	/**
	 * 进入副本人数要求
	 */
	private int personType;
	/**
	 * 副本图片
	 */
	private String icon;
	private int enterSceneId,exitSceneId;
	/**
	 * 副本场景id列表
	 */
	private String sceneIds;
	/**
	 * 副本描述
	 */
	private String info;
	
	/**
	 * 副本等级
	 */
	private int sortLevel;
	
	/**
	 * 通过奖励
	 */
	private int awardId;
	
	private int[] sceneIdsArr;
	/**
	 * 单人
	 */
	public static final int typeSingle = 1;
	/**
	 * 多人
	 */
	public static final int typeTeam = 2;
	/**
	 * 通天图
	 */
	public static final int typePicCheckpoint = 3;
	/**
	 * 神兵阵
	 */
	public static final int typeSoldierCheckpoint = 4;
	/**
	 * 上古秘境
	 */
	public static final int typeFamAne = 5;
	/**
	 * 帮派副本
	 */
	public static final int typeUnion = 16;
	/**
	 * 剧情副本
	 */
	public static final int typeDrama = 32;
	/**
	 * 活动副本
	 */
	public static final int typeSpalc = 64;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	public int getTimes() {
		return times;
	}
	public void setTimes(int times) {
		this.times = times;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getSceneIds() {
		return sceneIds;
	}
	public void setSceneIds(String sceneIds) {
		this.sceneIds = sceneIds;
		sceneIdsArr = StringProcesser.toIntArray(sceneIds);
	}	
	public int getEnterSceneId() {
		return enterSceneId;
	}
	public void setEnterSceneId(int enterSceneId) {
		this.enterSceneId = enterSceneId;
	}
	public int getExitSceneId() {
		return exitSceneId;
	}
	public void setExitSceneId(int exitSceneId) {
		this.exitSceneId = exitSceneId;
	}

	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public int[] getSceneIdsArr() {
		return sceneIdsArr;
	}
	public int getSortLevel() {
		return sortLevel;
	}
	public void setSortLevel(int sortLevel) {
		this.sortLevel = sortLevel;
	}
	public int getAwardId() {
		return awardId;
	}
	public void setAwardId(int awardId) {
		this.awardId = awardId;
	}
	public int getLevelMax() {
		return levelMax;
	}
	public void setLevelMax(int levelMax) {
		this.levelMax = levelMax;
	}
	public int getPersonType() {
		return personType;
	}
	public void setPersonType(int personType) {
		this.personType = personType;
	}
}
